package com.topboya.linker.model.response;

import java.io.Serializable;
import java.util.List;

public class CustomerByOrgIdResponse extends BaseResponse implements Serializable {

    private Data data;
    public class Data {

        private int pageNo;
        private int pageSize;
        private int count;
        private int other;
        private List<DepartmentList> list;
        private int firstResult;
        private int maxResults;
        private String html;
        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }
        public int getPageNo() {
            return pageNo;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }
        public int getPageSize() {
            return pageSize;
        }

        public void setCount(int count) {
            this.count = count;
        }
        public int getCount() {
            return count;
        }

        public void setOther(int other) {
            this.other = other;
        }
        public int getOther() {
            return other;
        }

        public void setList(List<DepartmentList> list) {
            this.list = list;
        }
        public List<DepartmentList> getList() {
            return list;
        }

        public void setFirstResult(int firstResult) {
            this.firstResult = firstResult;
        }
        public int getFirstResult() {
            return firstResult;
        }

        public void setMaxResults(int maxResults) {
            this.maxResults = maxResults;
        }
        public int getMaxResults() {
            return maxResults;
        }

        public void setHtml(String html) {
            this.html = html;
        }
        public String getHtml() {
            return html;
        }

        @Override
        public String toString() {
            return "Data{" +
                    "pageNo=" + pageNo +
                    ", pageSize=" + pageSize +
                    ", count=" + count +
                    ", other=" + other +
                    ", list=" + list +
                    ", firstResult=" + firstResult +
                    ", maxResults=" + maxResults +
                    ", html='" + html + '\'' +
                    '}';
        }
    }
    public class DepartmentList implements Serializable {

        private String id;
        private String isNewRecord;
        private String createDate;
        private String updateDate;
        private String orgId;
        private String cusType;
        private String cusName;
        private String quanpinName;
        private String phone;
        private String department;
        private String cusInter;
//      加一个字段，用来判断是否被选中，
        private boolean ischekced;

        public void setId(String id) {
            this.id = id;
        }
        public String getId() {
            return id;
        }

        public void setIsNewRecord(String isNewRecord) {
            this.isNewRecord = isNewRecord;
        }
        public String getIsNewRecord() {
            return isNewRecord;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }
        public String getCreateDate() {
            return createDate;
        }

        public void setUpdateDate(String updateDate) {
            this.updateDate = updateDate;
        }
        public String getUpdateDate() {
            return updateDate;
        }

        public void setOrgId(String orgId) {
            this.orgId = orgId;
        }
        public String getOrgId() {
            return orgId;
        }

        public void setCusType(String cusType) {
            this.cusType = cusType;
        }
        public String getCusType() {
            return cusType;
        }

        public void setCusName(String cusName) {
            this.cusName = cusName;
        }
        public String getCusName() {
            return cusName;
        }

        public void setQuanpinName(String quanpinName) {
            this.quanpinName = quanpinName;
        }
        public String getQuanpinName() {
            return quanpinName;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }
        public String getPhone() {
            return phone;
        }

        public void setCusInter(String cusInter) {
            this.cusInter = cusInter;
        }
        public String getCusInter() {
            return cusInter;
        }

        public String getDepartment() {
            return department;
        }

        public void setDepartment(String department) {
            this.department = department;
        }

        public boolean isIschekced() {
            return ischekced;
        }

        public void setIschekced(boolean ischekced) {
            this.ischekced = ischekced;
        }

        @Override
        public String toString() {
            return "DepartmentList{" +
                    "id='" + id + '\'' +
                    ", isNewRecord='" + isNewRecord + '\'' +
                    ", createDate='" + createDate + '\'' +
                    ", updateDate='" + updateDate + '\'' +
                    ", orgId='" + orgId + '\'' +
                    ", cusType='" + cusType + '\'' +
                    ", cusName='" + cusName + '\'' +
                    ", quanpinName='" + quanpinName + '\'' +
                    ", phone='" + phone + '\'' +
                    ", department='" + department + '\'' +
                    ", cusInter='" + cusInter + '\'' +
                    '}';
        }
    }

    public void setData(Data data) {
        this.data = data;
    }
    public Data getData() {
        return data;
    }

    @Override
    public String toString() {
        return "CustomerByOrgIdResponse{" +
                "data=" + data +
                '}';
    }
}
